package com;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller 
public class TestController {
	 @RequestMapping("/login")  
	    public String login(Model model) {  
	        model.addAttribute("msg", "controller --> login");  
	        return "login";  
	    }  
}
